constraint n. 1.強(qiáng)迫,拘束。 2.約束,壓抑,拘泥。 3.強(qiáng)制力。 4.緊張感[狀態(tài)]。 by constraint 勉強(qiáng),強(qiáng)迫。 feel constraint覺(jué)得局促不安,感受壓迫。 show constraint顯得局促。 under [in] constraint 被迫,不得不;被束縛著。
Type , you can define column - level or table - level constraints 類型的列時(shí),可以定義列級(jí)約束或表級(jí)約束。
For database table - level constraint 表級(jí)約束
Table - level constraint 表級(jí)約束
This includes all column - level and table - level constraints in create table , stored procedures , and triggers 這包括create table中所有列級(jí)約束和表級(jí)約束、存儲(chǔ)過(guò)程以及觸發(fā)器。
Because check constraints can reference only the columns on which the column - level or table - level constraint is defined , any cross - table constraints in this case , business rules must be defined as triggers 由于check約束只能引用定義了列級(jí)或表級(jí)約束的列,表間的任何約束(在本例中是業(yè)務(wù)規(guī)則)都必須定義為觸發(fā)器。